package com.fram.mapper;

import java.util.List;

import com.fram.bean.admin.android.withdrawal.request.WithdrawalAndroidRequest;
import com.fram.bean.admin.android.withdrawal.response.WithdrawalAndroidResponse;
import com.fram.bean.admin.user.response.UserWithdrawResponse;
import com.fram.bean.admin.user.response.WithdrawDetailResponse;
import com.fram.entity.UserWithdrawCashList;

public interface UserWithdrawCashListMapper {
    int deleteByPrimaryKey(Long id);

    int insert(UserWithdrawCashList record);

    int insertSelective(UserWithdrawCashList record);

    UserWithdrawCashList selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(UserWithdrawCashList record);

    int updateByPrimaryKey(UserWithdrawCashList record);
    
    List<WithdrawalAndroidResponse> listForAndroid(WithdrawalAndroidRequest request);
    
    List<UserWithdrawResponse> listForAdmin(UserWithdrawCashList request);
    
    WithdrawDetailResponse detailForAdmin(Long id);
}